<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <script src="js/jquery1.42.min.js"></script>
  </head>
  <body>
    <button id="play">播放音乐</button>
    <audio src="./imgs/林俊杰-不为谁而作的歌.flac" id="audio"></audio>
    <script>
      // $('#play').click(function(){
      //     alert('ok')
      // })
      $("#play").click(function () {
        var $audio = $("#audio");
        $audio[0].play();
      });
    </script>
  </body>
</html>
